package com.czxy.Demo03;

public class Test {
    public static void main(String[] args) {
        show();
    }
    public static void show(){
        for (int i = 1; true ; i++) {
            if ( 3.14 * i * i <= 50 ){
                System.out.println("圆的半径为:"+i+"\t圆的面积为:"+(3.14 * i * i ));
            }else{
                break;
            }
        }
    }
}
